/*
 * @Description: Description
 * @Author: wning
 * @Date: 2022-12-01 16:22:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-13 17:39:28
 */

import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('organization.rank.rankName'),
    width: 'auto',
    prop: 'rankName',
    fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.rank.rankCode'),
    width: 'auto',
    prop: 'rankCode',
    fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.rank.rankAbbreviation'),
    width: 'auto',
    prop: 'shortName',
    fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.rank.enable'),
    minWidth: 110,
    width: 'auto',
    prop: 'state',
    align: 'center'
  }
]
export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit'),
    permissions: 'upms:rank:update'
  },
  {
    key: 'delete',
    text: i18n.t('common.delete'),
    permissions: 'upms:rank:delete'
  }
]
